package com.erp.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author pengyujin
 * @date 2020/11/15 14:28
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class OutputVO {

    private static final long serialVersionUID = 1L;

    @ExcelProperty("出库编号")
    private Integer id;

    @ExcelProperty("客户")
    private String customerName;

    @ExcelProperty("货物")
    private String goodsName;

    @ExcelProperty("操作员")
    private String operator;

    @ExcelProperty("数量")
    private Integer number;

    @ExcelProperty("出库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ExcelProperty("仓库")
    private String warehouse;

    @ExcelProperty("出库价格")
    private BigDecimal outputPrice;

    @ExcelProperty("运输单号")
    private String trackingNumber;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("逻辑删除")
    private Boolean isDeleted;
}
